package enums;

/**
 * @Desciption: 布尔枚举
 * @author: Anc
 * @date: 2022/07/01
 */
public enum BooleanEnum {

    YES(1, "是"),
    NO(0, "否");

    private int id;

    private String desc;

    private BooleanEnum(int id, String desc) {
        this.id = id;
        this.desc = desc;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }


}
